
package Order.Serializer;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for anonymous complex type.
 *
 * <p>The following schema fragment specifies the expected content contained within this class.
 *
 * <pre>
 * &lt;complexType>
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;choice>
 *         &lt;element name="NewOrder" type="{}NewOrderType" minOccurs="0"/>
 *         &lt;element name="ChangeOrder" type="{}ChangeOrderType" minOccurs="0"/>
 *         &lt;element name="ResponseOrder" type="{}ResponseOrderType" minOccurs="0"/>
 *       &lt;/choice>
 *       &lt;attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
 *       &lt;attribute ref="{}Action use="required""/>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 *
 *
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "newOrder", "changeOrder", "responseOrder" })
@XmlRootElement(name = "Order")
public class OrderType {

    @XmlElement(name = "NewOrder")
    protected NewOrderType newOrder;
    @XmlElement(name = "ChangeOrder")
    protected ChangeOrderType changeOrder;
    @XmlElement(name = "ResponseOrder")
    protected ResponseOrderType responseOrder;
    @XmlAttribute(name = "ID", required = true)
    protected int id;
    @XmlAttribute(name = "Action", required = true)
    protected String action;

    /**
     * Gets the value of the newOrder property.
     *
     * @return
     *     possible object is
     *     {@link NewOrderType }
     *
     */
    public NewOrderType getNewOrder() {
        return newOrder;
    }

    /**
     * Sets the value of the newOrder property.
     *
     * @param value
     *     allowed object is
     *     {@link NewOrderType }
     *
     */
    public void setNewOrder(NewOrderType value) {
        this.newOrder = value;
    }

    /**
     * Gets the value of the changeOrder property.
     *
     * @return
     *     possible object is
     *     {@link ChangeOrderType }
     *
     */
    public ChangeOrderType getChangeOrder() {
        return changeOrder;
    }

    /**
     * Sets the value of the changeOrder property.
     *
     * @param value
     *     allowed object is
     *     {@link ChangeOrderType }
     *
     */
    public void setChangeOrder(ChangeOrderType value) {
        this.changeOrder = value;
    }

    /**
     * Gets the value of the responseOrder property.
     *
     * @return
     *     possible object is
     *     {@link ResponseOrderType }
     *
     */
    public ResponseOrderType getResponseOrder() {
        return responseOrder;
    }

    /**
     * Sets the value of the responseOrder property.
     *
     * @param value
     *     allowed object is
     *     {@link ResponseOrderType }
     *
     */
    public void setResponseOrder(ResponseOrderType value) {
        this.responseOrder = value;
    }

    /**
     * Gets the value of the id property.
     *
     */
    public int getID() {
        return id;
    }

    /**
     * Sets the value of the id property.
     *
     */
    public void setID(int value) {
        this.id = value;
    }

    /**
     * Gets the value of the action property.
     *
     * @return
     *     possible object is
     *     {@link String }
     *
     */
    public String getAction() {
        return action;
    }

    /**
     * Sets the value of the action property.
     *
     * @param value
     *     allowed object is
     *     {@link String }
     *
     */
    public void setAction(String value) {
        this.action = value;
    }

}
